from addTeacher_ui import Ui_Dialog
from PySide6.QtWidgets import QApplication,QDialog
import sys
class dialogAddTeacher(QDialog, Ui_Dialog):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setupUi(self)
        
        # 设置对话框属性
        self.setWindowTitle("登录")

if __name__ =="__main__":
    app=QApplication()
    mywi=dialogAddTeacher()
    mywi.show()
    sys.exit(app.exec())